package com.gopay.common.domain.dc;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 
 * 动态口令卡操作日志记录表
 * @author zhangzg
 * @date 2015年8月31日 下午3:21:58
 * www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "DC_OPER_LOG")
public class DCOperLogInfo extends BaseEntity {
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
    @SequenceGenerator(name="dc_oper_log_seq", sequenceName="dc_oper_log_seq" )
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="dc_oper_log_seq")
    @Column(name="LOG_ID")
    private int logId;
	
	 /**
     * 客户ID
     */
    @Column(name="CUST_ID")
    private String custId;
    
    /**
     * 令牌序列号
     */
    @Column(name="TOKEN_ID")
    private String tokenId;

    
    /**
     * 操作类型,0-关联,1-解绑,2-启用,3-禁用,4-控制台锁定,5-控制台解锁
     */
    @Column(name="OPER_TYPE")
    private String operType;
    
    /**
     * 操作员ID
     */
    @Column(name="OPER_ID")
    private String operId;
    
    /**
     * 操作时间
     */
    @Column(name="OPER_TIME")
    private Date operTime;
    
    /**
     * 用户ID
     */
    @Column(name="USER_ID")
    private String userId;

	public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getLogId() {
		return logId;
	}

	public void setLogId(int logId) {
		this.logId = logId;
	}

	public String getCustId() {
		return custId;
	}

	public void setCustId(String custId) {
		this.custId = custId;
	}

	public String getTokenId() {
		return tokenId;
	}

	public void setTokenId(String tokenId) {
		this.tokenId = tokenId;
	}

	public String getOperType() {
		return operType;
	}

	public void setOperType(String operType) {
		this.operType = operType;
	}

	public String getOperId() {
		return operId;
	}

	public void setOperId(String operId) {
		this.operId = operId;
	}

	public Date getOperTime() {
		return operTime;
	}

	public void setOperTime(Date operTime) {
		this.operTime = operTime;
	}
    
    
    

}
